package com.macro.mall.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 产品属性分类
 *
 * @author xuyanjun
 * @date 2019-12-14
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("pms_product_attribute_category")
public class AttributeCategoryEntity {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 属性数量
     */
    @TableField(value = "attribute_count")
    private Integer attributeCount;

    /**
     * 参数数量
     */
    @TableField(value = "param_count")
    private Integer paramCount;

}